bitkeeper revision 1.113 (3e68d06887kwW9F4hBSAjMtikQ2LqQ)
authorkaf24@labyrinth.cl.cam.ac.uk <kaf24@labyrinth.cl.cam.ac.uk>
Fri, 7 Mar 2003 17:01:28 +0000 (17:01 +0000)
committerkaf24@labyrinth.cl.cam.ac.uk <kaf24@labyrinth.cl.cam.ac.uk>
Fri, 7 Mar 2003 17:01:28 +0000 (17:01 +0000)
kernel.c:
  VGA text mode 3 has 25 rows, not 24 :-)

xen/common/kernel.c

index c7a614b29de9f199db34bb20542b789f359de0f2..344eae59c2ca93ebb8ccd60a657567c77fce665e 100644 (file)
 #include <linux/if_ether.h>
 #include <asm/domain_page.h>
 
-/* VGA text definitions. */
-#define COLUMNS            80
-#define LINES      24
-#define ATTRIBUTE    7
-#define VIDEO      __va(0xB8000)
-
 static int xpos, ypos;
 static volatile unsigned char *video;
 
@@ -245,6 +239,12 @@ void putchar_serial(unsigned char c)
 }
 
 
+/* VGA text (mode 3) definitions. */
+#define COLUMNS            80
+#define LINES      25
+#define ATTRIBUTE    7
+#define VIDEO      __va(0xB8000)
+
 /* This is actually code from vgaHWRestore in an old version of XFree86 :-) */
 void init_vga(void)
 {